// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Stride.Core.Transactions;

/// <summary>
/// A enum listing the possible reasons for transactions to be discarded from an <see cref="ITransactionStack"/>.
/// </summary>
public enum DiscardReason
{
    /// <summary>
    /// Transactions have been discarded because the stack is full.
    /// </summary>
    StackFull,
    /// <summary>
    /// Transactions have been discarded because the top of the stack has been purged.
    /// </summary>
    StackPurged,
}
